//
//  CheckersAIPlayer.h
//  CheckersGame
//
//  Created by Guest User on 11-12-13.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CheckersPlayer.h"  
#import "../checkers_logic/checkers_ai.h"

@interface CheckersAIPlayer : NSObject <CheckersPlayer> {
    CheckersAISettings aiSettings;
    NSTimer* timer;
    BOOL iswaiting, isdone;
    BOOL ispaused;
}

-(id)initWithTimeLimit : (int) timelim 
               depthLimit: (int) depthlim 
              randomNoise: (int) randnoise
               randomCuts: (int) randcur;

-(id)initDifficulty : (int) difficulty;

//Returns true if has move ready
-(BOOL) decideMove : (CheckersMove*) move Board:  (CheckersBoard*) board;
-(BOOL) needsPieceInteraction;
-(void) setPaused : (BOOL) paused;
-(void)letMove;
-(void) invalidateMove;

@end
